package edu.hhu.wifispark.entry;

import java.util.List;

import com.jfinal.plugin.activerecord.Model;

public class Customerflow extends Model<Customerflow>{

	private static final long serialVersionUID = 1L;
	public final static Customerflow dao = new Customerflow();
	
	public List<Customerflow> findFrom(long stime){
		String sql = "select * from customerflow where atime > "+stime;
		return find(sql);
	}
	
	public List<Customerflow> findAll(){
		String sql = "select * from customerflow";
		return find(sql);
	}
	
}
